package cn.edu.cqytxy.service.impl;

import cn.edu.cqytxy.common.Sex;
import cn.edu.cqytxy.entity.Stu;
import cn.edu.cqytxy.service.StuService;

/**
 * 学生管理接口实现类
 *
 * @author yinjw
 */
public class StuServiceImpl implements StuService {


    @Override
    public void addStu(Stu stu) {



    }

    public static void main(String[] args) {
        System.out.println(Sex.WOMAN.getCode());

        System.out.println(Sex.MAN == Sex.MAN);

        System.out.println(Sex.WOMAN.ordinal());

        Sex[] values = Sex.values();
        for (int i = 0; i < values.length; i++) {
            System.out.println(values[i]);
        }
    }
}
